from flask import Blueprint, render_template

blog = Blueprint('blog', __name__)

@blog.route('/')
def index():
    return render_template('index.html')

@blog.route('/post/<int:post_id>')
def post(post_id):
    return f'Post ID: {post_id}'